package com.turing.post.organization.util;

import java.math.BigInteger;
import java.util.List;

import javax.ejb.Local;
import javax.ejb.Remote;
import com.turing.post.util.PCPSApplicationException;
import com.turing.post.util.PCPSWebInput;

/**
 * 凭证调整单业务
 * 
 * @author wzd
 * @2013-03-13
 */
@Remote
@Local
public interface VoucherAdjustOrderBusiness {
	
	/**
	 * 新增凭证调整单
	 * 
	 * @param  VoucherAdjustOrder
	 *                   凭证调整单
	 * @throws PCPSApplicationException
	 */
	public BigInteger insertVoucherAdjustOrder(PCPSWebInput webInput,VoucherAdjustOrder voucherAdjustOrder,List<VoucherAdjustOrderDetail> datil) throws PCPSApplicationException;
	/**
	 * 修改凭证调整单状态-审核
	 * 
	 * @param  VoucherAdjustOrder
	 *                   凭证调整单
	 * @throws PCPSApplicationException
	 */
	public void updateVoucherAdjustOrderByAuditing(PCPSWebInput webInput,VoucherAdjustOrder voucherAdjustOrder) throws PCPSApplicationException;
	/**
	 * 修改凭证调整单状态-取消
	 * 
	 * @param  VoucherAdjustOrder
	 *                   凭证调整单
	 * @throws PCPSApplicationException
	 */
	public void updateVoucherAdjustOrderByCancelling(PCPSWebInput webInput,VoucherAdjustOrder voucherAdjustOrder) throws PCPSApplicationException;	
	/**
	 * 修改凭证调整单状态-确认
	 * 
	 * @param  VoucherAdjustOrder
	 *                   凭证调整单
	 * @throws PCPSApplicationException
	 */
	public void updateVoucherAdjustOrderByConfirm(PCPSWebInput webInput,VoucherAdjustOrder voucherAdjustOrder) throws PCPSApplicationException;	
}
